package com.shop.mapper;
import com.shop.entity.Order;
import org.apache.ibatis.annotations.Param;

import com.shop.entity.MerchantGoods;
import com.shop.entity.OrderDetails;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * (OrderDetails)表数据库访问层
 *
 * @author makejava
 * @since 2020-11-21 12:10:59
 */
@Mapper
public interface OrderDetailsMapper extends BaseMapper<OrderDetails> {
    MerchantGoods getByGoodsId(Integer id);

    int insertSelective(OrderDetails orderDetails);
    //新增所有集合
    int insertList(@Param("list")List<OrderDetails> list);

}
